package cn.jxau.bean.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
public class ArticlePlus{
	private Long articleID; //文章ID
	private String title;//文章标题
	private String typeName;//文章类型名
	private String introduction;//文章介绍
	private Integer commentCount;//文章评论数
	private Integer collectionCount;//文章评论数
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
	private Date tdate;//发布文章时间
	private Boolean qualified=Boolean.TRUE;//是否通过审核，默认为false 暂时修改为true
	@Override
	public String toString() {
		return "ArticlePlus [articleID=" + articleID + ", title=" + title + ", typeName=" + typeName + ", introduction="
				+ introduction + ", commentCount=" + commentCount + ", collectionCount=" + collectionCount + ", tdate="
				+ tdate + ", qualified=" + qualified + "]";
	}
	public ArticlePlus() {
		super();
		// TODO Auto-generated constructor stub
	}
	public ArticlePlus(Long articleID, String title, String typeName, String introduction, Integer commentCount,
			Integer collectionCount, Date tdate, Boolean qualified) {
		super();
		this.articleID = articleID;
		this.title = title;
		this.typeName = typeName;
		this.introduction = introduction;
		this.commentCount = commentCount;
		this.collectionCount = collectionCount;
		this.tdate = tdate;
		this.qualified = qualified;
	}
	public Long getArticleID() {
		return articleID;
	}
	public void setArticleID(Long articleID) {
		this.articleID = articleID;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public Integer getCommentCount() {
		return commentCount;
	}
	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}
	public Integer getCollectionCount() {
		return collectionCount;
	}
	public void setCollectionCount(Integer collectionCount) {
		this.collectionCount = collectionCount;
	}
	public Date getTdate() {
		return tdate;
	}
	public void setTdate(Date tdate) {
		this.tdate = tdate;
	}
	public Boolean getQualified() {
		return qualified;
	}
	public void setQualified(Boolean qualified) {
		this.qualified = qualified;
	}
}
